package com.chenyue.cm.msg.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.msg.dao.JdMsgTypeMapper;
import com.chenyue.cm.msg.domain.JdMsgType;
import com.chenyue.cm.msg.service.JdMsgTypeService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdMsgTypeService")
public class JdMsgTypeServiceImpl extends BaseServiceImpl<JdMsgType> implements JdMsgTypeService {

    private final JdMsgTypeMapper jdMsgTypeMapper;

    public JdMsgTypeServiceImpl(@Qualifier("jdMsgTypeMapper") JdMsgTypeMapper jdMsgTypeMapper) {
        this.jdMsgTypeMapper = jdMsgTypeMapper;
    }

    @Override
    @Resource(name = "jdMsgTypeMapper")
    public void setBaseMapper(LcBaseMapper<JdMsgType, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
